import React, { Component } from 'react'
import Title from './components/Title'
import TopicList from './components/TopicList'
import SideList from './components/SideList'
import {
  HomeWrapper,
  HomeLeft,
  HomeRight
} from './style'

class Home extends Component {
  render() {
    return (
      <HomeWrapper>
        <HomeLeft>
          <img className='title-pic' src='http://www.coder-lei.cn/public/pages/reactDemo/img/NewYear.png' alt='title pic'/>
          <Title />
          <TopicList />
        </HomeLeft>
        <HomeRight>
           <SideList />
        </HomeRight> 
      </HomeWrapper>
    )
  }
}

export default Home